﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TeacherDetails.aspx.cs"
    Inherits="HiTeachers.Web.TeacherDetails" Title="" %>

<%@ Import Namespace="HiTeachers.Utilities" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphSearch" runat="server">
    <hiteacher:Search ID="htcSearch" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMainMenu" runat="server">
    <hiteacher:MainMenu ID="mnuMain" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <div id="content">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2" valign="top" nowrap="nowrap">
                    <div class="bottom10">
                        <div class="solidlinedividerpublicmarketplace">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2" valign="top" nowrap="nowrap">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <%--<td align="left" valign="top" nowrap="nowrap">
                                <span class="standardtextbold18px">
                                    <asp:Literal ID="ltrName" runat="server"></asp:Literal></span>
                                <div class="padtop5">
                                    <span class="standardtextbold14px">Dạy môn : <span class="blueboldtext18px">
                                        <asp:Literal ID="ltrSubject" runat="server"></asp:Literal></span></span></div>
                            </td>
                            <td width="100%" align="center" valign="top">
                                <span class="standardtextbold18px">Đánh giá<br />
                                    <hiteacher:LiteralStar ID="ltrRate" runat="server"></hiteacher:LiteralStar>
                                </span>
                            </td>--%>
                            <td align="left" valign="top" nowrap="nowrap">
                                <table width="100%">
                                    <tr>
                                        <td>
                                            <span class="standardtextbold18px">
                                                <asp:Literal ID="ltrName" runat="server"></asp:Literal></span>
                                        </td>
                                        <td style="width: 60px;">
                                            <span class="standardtextbold18px">Đánh giá:&nbsp;</span>
                                        </td>
                                        <td style="width: 200px">
                                            <hiteacher:LiteralStar ID="ltrRate" runat="server"></hiteacher:LiteralStar>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="padtop5">
                                    <span class="standardtextbold14px">Dạy môn:<span class="blueboldtext18px" style="font-size: 14px;">
                                        <label style="overflow: hidden; display: inline; width: 380px;">
                                            <asp:Literal ID="ltrSubject" runat="server"></asp:Literal>
                                        </label>
                                    </span></span>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" valign="top" nowrap="nowrap">
                    <div class="padtop5">
                        <div class="solidlinedividerpublicmarketplace">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td valign="top" nowrap="nowrap">
                    <div class="marketplacepicturediv">
                        <div align="center">
                            <hiteacher:ResizedImage ID="prfPic" MaxHeight="60" MaxWidth="60" runat="server" /></div>
                    </div>
                </td>
                <td align="left" valign="top" nowrap="nowrap">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="standardtextbold">
                                Tuổi
                            </td>
                            <td class="standardtext">
                                <asp:Literal ID="ltrAge" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td class="standardtextbold">
                                Dạy môn
                            </td>
                            <td class="standardtext">
                                <div style="overflow: hidden; width: 250px;">
                                    <asp:Literal ID="ltrTeach" runat="server"></asp:Literal></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="standardtextbold">
                                Học phí/giờ (60')
                            </td>
                            <td class="standardtext">
                                <asp:Literal ID="ltrFees" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" class="standardtextbold">
                                Địa chỉ
                            </td>
                            <td class="standardtext">
                                <asp:Literal ID="ltrAddress" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" class="standardtextbold">
                                Có thể dạy vào các ngày
                            </td>
                            <td class="standardtext">
                                <asp:Literal ID="ltrAvailability" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" class="standardtextbold">
                                Phản hồi từ học viên
                            </td>
                            <td class="standardtext">
                                <asp:Literal ID="ltrNumberFb" Text="Có {0} phản hồi từ học viên" runat="server"></asp:Literal>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr id="trAccept" runat="server">
                <td colspan="2" align="right">
                    <form id="frmAptc" runat="server">
                    <asp:Button ID="btnAcceptContact" OnClick="BtnAcceptContactClick" CssClass="btnClass"
                        Text="Chấp nhận liên lạc" runat="server" />
                    </form>
                </td>
            </tr>
        </table>
        <div>
            <div id="introduceTabs" class="TabbedPanels">
                <ul class="TabbedPanelsTabGroup">
                    <li class="TabbedPanelsTab TabbedPanelsTabSelected">Giới thiệu của giáo viên</li>
                </ul>
                <div class="TabbedPanelsContentGroup">
                    <asp:Literal ID="ltrProfile" runat="server"></asp:Literal>
                </div>
            </div>
            <div id="feedbackTab" class="TabbedPanels">
                <asp:Repeater ID="rptFeedback" runat="server">
                    <HeaderTemplate>
                        <ul class="TabbedPanelsTabGroup">
                            <li class="TabbedPanelsTab TabbedPanelsTabSelected">Phản hồi từ học viên </li>
                        </ul>
                        <div class="TabbedPanelsContentGroup">
                            <div>
                                <table width="633" border="0" cellpadding="5" cellspacing="0" class="feedbackdiv">
                                    <tr valign="top">
                                        <td height="40" align="left">
                                            <div class="padbottom5">
                                                <span class="whiteboldtext">Học viên</span></div>
                                        </td>
                                        <td align="left">
                                            <div class="padbottom5">
                                                <span class="whiteboldtext">Đánh giá</span></div>
                                        </td>
                                        <td align="left">
                                            <div class="padbottom5">
                                                <span class="whiteboldtext">Nội dung</span></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="5" colspan="3" align="left">
                                        </td>
                                    </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr valign="top">
                            <td valign="top" nowrap="nowrap" class="standardtextbold">
                                <span class="standardtext">Ngày </span>
                                <asp:Literal ID="ltrDate" Text='<%# Eval("InsertedDate","{0:dd/MM/yyyy}") %>' runat="server"></asp:Literal><br />
                                <asp:Literal ID="ltrFbName" Text='<%# Eval("Name") %>' runat="server"></asp:Literal><br />
                                <span class="standardtext">Nick: </span>
                                <asp:Literal ID="ltrFbEmail" Text='<%# Convert.ToString(Eval("Email")).Sub(4) + "..." %>'
                                    runat="server"></asp:Literal>
                            </td>
                            <td valign="top" nowrap="nowrap" class="standardtext">
                                <hiteacher:LiteralStar ID="ltrFbRate" NumberStar='<%# Eval("Rate") %>' runat="server"></hiteacher:LiteralStar>
                            </td>
                            <td colspan="2" align="left" valign="top" class="standardtext">
                                <div class="feedbackcommenttop">
                                </div>
                                <div class="feedbackcommentmiddle">
                                    <div class="feedbackcommentbox">
                                        <img src="images/leftcommentquote.png" alt="" />
                                        <asp:Literal ID="ltrFbContent" Text='<%# Eval("Content") %>' runat="server"></asp:Literal>
                                        <img src="images/rightcommentquote.png" alt="" width="15" height="12" /></div>
                                </div>
                                <div class="feedbackcommentbottom">
                                </div>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td colspan="4" style="height: 20px; padding-top: 5px;" valign="top" nowrap="nowrap"
                                class="standardtextbold">
                                <div class="feedbackdivider">
                                </div>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table> </div> </div>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </div>
    </div>
</asp:Content>
